import java.util.Scanner;

public class Student {
    public static void main(String[] args) {
        //通过new实例化对象
        Student1 student=new Student1();
        student.age=16;
        student.name="lili";
        student.score=80;
        student.Study();
        student.Eat();
    }
}
//定义一个学生类
class Student1{
    public String name;
    public short age;
    public double score;

    public void Study(){
        System.out.println("好好学习");
    }
    public void Eat(){
        System.out.println("好好吃饭");
    }
}


